package pencil.to;
//반죽머신을 표현한 DTO입니다.
public class mixMachineTO {
	private int no;
	private int blackRead; //자원 흑연-----창고 자원
	private int clay;//점토----창고자원
	private int water;//물----창고자원이라 침
	
	private String startTime;//시작시간
	private String endTime;//끝 시간
	private int normal; //정상품
	private int abnormal;//비정상
	private String state;//기계의 상태
	private int machineLife;//기계의 수명
	private int runstep;//진행률

	public mixMachineTO(){
		this.no = 0;
		this.blackRead = 0;
		this.clay = 0;
		this.water = 0;
		this.startTime = "";
		this.endTime = "";
		this.normal = 0;
		this.abnormal = 0;
		this.state = "";
		this.machineLife = 0;
		this.runstep = 0;
		
		
	}

	public mixMachineTO(int no, int blackRead, int clay, int water,
			String startTime, String endTime, int normal, int abnormal,
			String state, int machineLife, int runstep) {
		super();
		this.no = no;
		this.blackRead = blackRead;
		this.clay = clay;
		this.water = water;
		this.startTime = startTime;
		this.endTime = endTime;
		this.normal = normal;
		this.abnormal = abnormal;
		this.state = state;
		this.machineLife = machineLife;
		this.runstep = runstep;
	}

	public int getNo() {
		return no;
	}

	public void setNo(int no) {
		this.no = no;
	}

	public int getBlackRead() {
		return blackRead;
	}

	public void setBlackRead(int blackRead) {
		this.blackRead = blackRead;
	}

	public int getClay() {
		return clay;
	}

	public void setClay(int clay) {
		this.clay = clay;
	}

	public int getWater() {
		return water;
	}

	public void setWater(int water) {
		this.water = water;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public int getNormal() {
		return normal;
	}

	public void setNormal(int normal) {
		this.normal = normal;
	}

	public int getAbnormal() {
		return abnormal;
	}

	public void setAbnormal(int abnormal) {
		this.abnormal = abnormal;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public int getMachineLife() {
		return machineLife;
	}

	public void setMachineLife(int machineLife) {
		this.machineLife = machineLife;
	}

	public int getRunstep() {
		return runstep;
	}

	public int setRunstep(int runstep) {
		return this.runstep = runstep;
	}

	@Override
	public String toString() {
		return "mixMachineTO [no=" + no + ", blackRead=" + blackRead
				+ ", clay=" + clay + ", water=" + water + ", startTime="
				+ startTime + ", endTime=" + endTime + ", normal=" + normal
				+ ", abnormal=" + abnormal + ", state=" + state
				+ ", machineLife=" + machineLife + ", runstep=" + runstep + "]";
	}

	
	
	
	
}
